﻿[wtsize='mini'] .layui-disabled {
    color: black !important;
    background-color: lightgrey;
}

/*#region 表单 */
[wtsize='mini'] .layui-form-item {
    padding: 2px 4px;
    /*height: 28px; 不可设置高度，否则tree无法撑开*/
    margin: 0;
}

[wtsize='mini'] .layui-form-label[for] {
    /*表单字段前的label控制*/
    font-size: 14px;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
    padding: 0;
    width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[wtsize='mini'] .layui-input-block {
    margin-left: 75px;
    /*height: 24px;不可设置高度，否则tree无法撑开*/
    min-height: 24px;
    line-height: 24px;
}

    [wtsize='mini'] .layui-input-block .layui-input {
        height: 24px;
        line-height: 24px;
    }
    /*todo 重写*/
    [wtsize='mini'] .layui-input-block > div:not(.layui-input-suffix) {
        /*checkbox*/
        /*     height: 22px;
        line-height: 22px;*/
    }

[wtsize='mini'] .layui-anim.layui-anim-upbit {
    top: 24px;
    border: solid;
    border-color: lightskyblue;
    border-width: 1px;
}

[wtsize='mini'] .layui-form-autocomplete .layui-anim.layui-anim-upbit {
    top: 0;
    border: solid;
    border-color: lightskyblue;
    border-width: 1px;
}


    [wtsize='mini'] .layui-form-radio > i {
        font-size: 18px;
    }

[wtsize='mini'] .layui-form-radio,
[wtsize='mini'] .layui-form-checkbox,
[wtsize='mini'] .layui-form-switch {
    margin: 0 6px 0 0;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
}

    [wtsize='mini'] .layui-form-switch i {
        height: 14px;
        width: 14px;
        top:2px;
    }

    [wtsize='mini'] .layui-form-checkbox[lay-skin=primary] {
        margin-top: 0px;
        padding-left: 20px;
    }

    [wtsize='mini'] .layui-form-checkbox i {
        /* height: 22px;*/
    }

/*#endregion */

/*wt:display控制*/
[wtsize='mini'] .wt-display {
    padding: 0 !important;
    height: 24px !important;
    line-height: 24px !important;
}
/*wt:display控制*/

[wtsize='mini'] .layui-input-suffix {
    line-height: 24px;
    height: 24px;
}


[wtsize='mini'] dd {
    font-size: 14px;
    height: 24px;
    line-height: 24px !important;
}

/*#region 表格里的输入框 */

table[lay-size='sm'] .layui-table-cell .layui-input {
    line-height: 20px;
    height: 20px;
    padding-left: 5px;
}


/*#endregion */
